import java.util.Scanner;

/**
 * @author zhaoqian
 * @create 2021/9/1 10:13
 */
public class feifu {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        float avg=0.0f;
        int total=0;
        float sum1=0.0f;
        int sum=0;
        while (in.hasNext()){

            int i = in.nextInt();

           if (i>=0){
               total=+total+i;
               sum1++;
           }else {
               sum++;
           }
         if (sum1!=0){
             avg=total/sum1;
         }

        }

        System.out.println(sum);
        System.out.println(String.format("%.1f", avg));
    }
}
